//
//  XYLocalAlertView.h
//  Zhihuijinfu
//
//  Created by XY Lv on 17/3/27.
//  Copyright © 2017年 王笛. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    XYLayoutLeft = 1,
    XYLayoutCenter,
    XYLayoutRight,
}XYLayoutAligment;
@protocol XYLocalAlertViewDelegate <NSObject>

- (void)xyLocalAlertViewTap:(id)sender;

@end
@interface XYLocalAlertView : UIView
@property (nonatomic,strong)NSString * xyLocalStr;//位置
@property (nonatomic,strong)UIImageView * xyIconImgView;
@property (nonatomic,strong)UILabel  * xyLocalTextLabel;
@property (nonatomic,copy)id (^xyLocalViewTap)(UIView *);
@property (nonatomic,assign)id<XYLocalAlertViewDelegate>delegate;
@property (nonatomic,assign)XYLayoutAligment    xyAligment;

@end







